package com.ruoyi.apis.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.ServletUtils;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.servlet.http.HttpServletRequest;

/**
 * @Author Choi
 * @Date 2021/7/19
 */

@Entity
@Getter
@Setter
@Table(name = "lc_banner")
@Where(clause = "online = 1")
public class BannerEntity {
    @Id
    private Long id;
    private String title;
    private String bgimage;
    private String image;
    private String url;
    private String description;
    private Integer sort;
    private Boolean online;

}
